package config

import (
	"github.com/hwUltra/fb-tools/gormx"
	"github.com/hwUltra/fb-tools/pay"
	"github.com/hwUltra/fb-tools/sms"
	"github.com/hwUltra/fb-tools/uploadx"
	"github.com/hwUltra/fb-tools/wechat"
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
)

type Config struct {
	rest.RestConf
	WxMini     wechat.WxMiniConf
	WxPay      pay.WxConf
	Sms        sms.VCodeConf
	Gorm       gormx.Conf
	Redis      redis.RedisConf
	Cache      cache.CacheConf
	OSS        uploadx.OSSConf
	JwtUserKey string
	WebSocket  struct {
		Enable bool
		Path   string
	}
	Auth struct {
		AccessSecret string
		AccessExpire int64
	}
}
